import http from '../http';

export function chatInterface(data:any){
    console.log('data',data);
    return http.post('/jwh/chat',{
        messages:data
    },{
        headers:{
            'Content-Type':'application/json'
        }
    })
}